package com.spdd.mt.common.thread;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 线程池对象
 *
 * @author shanfeilong
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ThreadPoolInfo {

    /** 线程池名称 */
    private String poolName;

    /** CorePoolSize */
    private int corePoolSize;

    /** MaximumPoolSize */
    private int maximumPoolSize;

    /** 激活数量 */
    private int activeCount;

    /** poolSize */
    private int poolSize;

    /** 线程池队列数量 */
    private int queueSize;

    /** 完成的任务数量 */
    private long completedTaskCount;
}
